package com.uestc.shop.dao;

import com.uestc.shop.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @Package: com.uestc.shop.dao
 * @author: Jounghu
 * @date: 2018/7/26 1:11
 * @version: V1.0
 */
@Repository
public interface UserRepository  extends JpaRepository<User,Integer>{

    User findUserByUsername(String username);

}
